<!-- 头部 -->
<include file="Public:header" />
<link href="__PUBLIC__/home/css/main2_9.css" rel="stylesheet" type="text/css"media="all" />

            <div class="mian_nav">
                <div class="mycenter">
                    <!-- <h3 style="padding-left:40px;cursor:default;">全部课程导航</h3> -->
                    <div class="nav_box">
                        <ul>
    <li class="home"><a href="{:U('index/index',array('newcity'=>$city))}" target="_self">首页</a></li>
    <li><a href="{:U('index/jiazhang_zn',array('newcity'=>$city))}" target="_self">学员指南</a></li>
    <li><a href="{:U('index/laoshi_zn',array('newcity'=>$city))}" target="_self">老师指南</a></li>
    <li><a href="{:U('index/about',array('newcity'=>$city))}" target="_self">关于平台</a></li>
                        </ul>
                        <div class="nav-line" style="left:92px;width:64px;">
                        </div>
                    </div>
                    <!-- 首页显示 -->
                    <div class="hls_slogan" id="hls_slogan">
                    </div>
                </div>
            </div>
        </header>
        <div class="zb_topim">
            <div class="zb_imareas">
            </div>
            <div class="zb_imarea2s">
            </div>
            <div class="zb_imarea3s">
            </div>
        </div>
        <div class="zb_cont4">
            <div class="teach_rmtp pos_r">
                <div class="toplft fl">
                    <div class="topNav1 ft14 gray10">
                        <ul>
                            <li style="display: none;">
                                <div class="lhb_detail_xiv mt2">
                                    <span class="lhb_detail_xi2 fl">
                                    </span>
                                    <span class="lhb_detail_xi2 fl">
                                    </span>
                                    <span class="lhb_detail_xi2 fl">
                                    </span>
                                    <span class="lhb_detail_xi2 fl">
                                    </span>
                                    <span class="lhb_detail_xi2 fl">
                                    </span>
                                </div>
                            </li>
                            <li>
                                入驻时间：<?php echo date('Y-m-d',$laoshi_info['create_time']) ?>
                            </li>
                        </ul>
                    </div>
                    <div class="rgt fl  w570  " style="position: relative;">
                        <div class="tuijian">
                            <img src="__PUBLIC__/home/images/tuijian.gif" alt="">
                        </div>
                        <div class="areat">
                            <h3 style="font-size: 20px;">{$laoshi_info.name} - 上门档案</h3>
                        </div>
                        <div class="areat1">
                            <p>ID：{$laoshi_info.id}</p>
                        </div>
                        <div class="scroll_area">
                            <div class="notice_radio">
                                <div class="notice_content" id="demo">
                                    <table border="0" cellpadding="0" cellspacing="0">
                                        <tbody>
                                            <tr>
                                                <td>
                                                    <div id="demo1">
                                                        <table style="width: 2102px;" class="table_width" border="0" cellpadding="0"
                                                        cellspacing="0" height="35">
                                                            <tbody>
                                                                <tr>
                                                                    <td class="dynamic_cource">
                                                                        <div class="notice_details">
                                                                            <!-- 125天14小时50分钟前：【青岛】的家长139****8982预约了 该老师 -->
                                                                            暂无
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </td> <!-- 滚动效果  添加 id="demo2" -->
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="fr approveimfor">
                        <div class="five_infor">
                            <ul class="renzheng mt10">
                            <?php if (!empty($laoshi_info['sfz_img'])) { ?>
                                <li><span>身</span>份认证</li> 
                            <?php } ?>

                            <?php if (!empty($laoshi_info['jiaoshizheng_img'])) { ?>
                                <li><span>教</span>师资格</li> 
                            <?php } ?>

                            <?php if (!empty($laoshi_info['qitazheng_img'])) { ?>
                                <li class="last"><span>学</span>历认证</li> 
                            <?php } ?>                      
                            <li class="last"><span>专</span>业资质</li>   
                            </ul>
                        </div>
                        <div class="tinfor_pad">
                            <p>教师资料认证</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="auto1200 head_area">
            <div class="many_details">
                <div class="details_center fl">
                    <div class="sub_position">
                        <p>教学年级：<span>
                                    <?php foreach ($grade as $g) { ?>
                                    <?php if (strstr($laoshi_info['grades'],$g['gradeid'])) { ?>
                                          {$g['grade_name']}
                                    <?php } ?>   
                                    <?php } ?>
                                    <!-- 高一,高二,高三,高考 -->
                                    </span>
                        </p>
                        <p>教学科目：<span>{$laoshi_info.subject}</span></p>
                        <p>教学特点：<span>{$laoshi_info.laoshi_stye}</span>
                        </p>
                        <p>擅教学生：<span> {$laoshi_info.stu_stye}</span>
                        </p>
                        <p>授课方式：<span>
                                    <?php foreach ($method as $m) { ?>
                                    <?php if (strstr($laoshi_info['methods'],$m['id'])) { ?>
                                          {$m['method_name']}
                                    <?php } ?>   
                                    <?php } ?>
                            <!-- 学生上门 -->
                                    </span>
                        </p>
                        <p>授课区域：<span> {$laoshi_info.address}</span>
                        </p>
                    </div>
                </div>
                <div class="clear">
                </div>
            </div>
            <div class="aiqiuyuyue">
                <div class="view-g">
                    <p class="gg">
                        <strong>{$laoshi_info.price}</strong>元/时起
                    </p>
                </div>
                <?php if ($_SESSION['is_who']=='laoshi' && $_SESSION['id']==$laoshi_info['id']) { ?>
                    <div>
                    <span class="btn big"><a href="{:U('laoshi/zlrz',array('newcity'=>$city))}" title="资料设置" target="_self">资料设置</a></span>
                </div>
                <?php }else { ?>
                <div onclick="document.location='{:U('info/jz_order_ls',array('id'=>$id,'newcity'=>$city))}';">
                    <span class="btn" style="width: 150px;margin: auto">试听预约</span>
                    <span class="after_pay">免费试听一节课</span>
                </div>
                <?php } ?>

            </div>
            <div class="head_photo">
                <?php if (empty($laoshi_info['face'])) { ?>
                    <img src="__PUBLIC__/home/images/teachers.jpg" alt="头像"><br />
                <?php }else { ?>
                    <img src="__ROOT__{$laoshi_info.face}" alt="头像"><br />
                <?php } ?>
                <span class="btn" style="margin:20px 0px">{$laoshi_info.name} {$laoshi_info.jiaoling}年教龄</span>
                <!-- <em onclick="concern(16)">
                    关注
                </em> -->
            </div>
        </div>
        <div class="index_main auto1200">
            <div class="fl left_area">
                <div class="teacher_calendar">
                    <h3>可授课时间</h3>
                    <div class="calendar" cellpadding="1" cellspacing="1">
                        <table class="lesson_time">
                            <thead>
                                <tr>
                                    <th>一</th>
                                    <th>二</th>
                                    <th>三</th>
                                    <th>四</th>
                                    <th>五</th>
                                    <th>六</th>
                                    <th>日</th>
                                </tr>
                            </thead>
                            <tbody id="uMw">
                                <tr>
                                    <?php  foreach ($showke_time_sw as $t) { ?>
                                    <td class="sL">
                                        <?php if (in_array($t['id'], $laoshi_infos)) { ?>
                                            <img src="__PUBLIC__/home/images/selected_time.png" alt="">
                                        <?php }else { ?>
                                            上午
                                        <?php } ?>
                                    </td>
                                    <?php } ?>
                                </tr>

                                <tr>
                                    <?php  foreach ($showke_time_xw as $t) { ?>
                                    <td class="sL">
                                        <?php if (in_array($t['id'], $laoshi_infos)) { ?>
                                            <img src="__PUBLIC__/home/images/selected_time.png" alt="">
                                        <?php }else { ?>
                                            下午
                                        <?php } ?>
                                    </td>
                                    <?php } ?>
                                </tr>

                                <tr>
                                    <?php  foreach ($showke_time_ws as $t) { ?>
                                    <td class="sL">
                                        <?php if (in_array($t['id'], $laoshi_infos)) { ?>
                                            <img src="__PUBLIC__/home/images/selected_time.png" alt="">
                                        <?php }else { ?>
                                            晚上
                                        <?php } ?>
                                    </td>
                                    <?php } ?>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="aiqiutongji">
                    <div class="aiqiuli">
                        <p>学生总数：{$stu_count}人</p>
                        <p>累计课时：{$laoshi_zong_ks}课时</p>
                        <!-- <p>试听成功率：95%</p>
                        <p>续课率：65%</p> -->
                    </div>
                </div>
            </div>
            <div class="fr right_area">
                <div class="five_tab" id="self_intro">
                    <ul id="nav-tindex">
                        <li><span class="anchor f" id="self_anchor1">基本资料</span></li>
                        <li><span class="anchor" id="gwjl_anchor">主要经历</span></li>
                        <li><span class="anchor" id="cgal_anchor">成功案例</span></li>
                        <li><span class="anchor jxjlnew" id="jxjl_anchor">教课记录</span></li>
                        <!-- <li><span class="anchor" id="jzpj_anchor">家长评价</span></li> -->
                        <div class="clear"></div>
                    </ul>
                    <div class="clear"></div>
                </div>
                <div class="link-content-recom">
                    <div class="codegenerating" id="self_anchor">
                        <div class="jbzl" id="self-anchor">
                            <h2>
                                基本资料
                            </h2>
                            <div class="basic_infor">
                                <p><span>最高学历：</span>{$laoshi_info.education}</p>
                                <p><span>毕业院校：</span>{$laoshi_info.school}</p>
                                <p><span>所学专业：</span>{$laoshi_info.major}</p>
                            </div>
                            <div class="keyword"></div>
                            <div>
                                <h3>老师简介：</h3>
                                <p><?php echo htmlspecialchars_decode($laoshi_info['jianjie']) ?></p>
                                <div class="cutline">
                                </div>
                            </div>
                            <div>
                                <!-- <h3>兴趣爱好：</h3>
                                <p></p> -->
                                <!-- <div class="cutline"></div> -->
                            </div>
                            <!-- <div>
                                <h3 class="lsxcs">
                                    老师相册：0张
                                </h3>
                                <div class="photo_area">
                                    <ul style="width: 1400px;">
                                        <li style="width: 160px;" data-value="__PUBLIC__/home/images/580778731d61d.JPG"><img src="__PUBLIC__/home/images/580778731d61d.JPG" alt=""></li>
                                    </ul>
                                </div>
                                <div class="cutline">
                                </div>
                            </div> -->
                        </div>
                        <div class="gwjl" id="gwjl-anchor" style="display:none;">
                            <h2>
                                主要经历
                            </h2>
                            <div class="gwjl_details">
                                <div class="mousehover">
                                    <div class="mousearea">
                                        <p class="gwjl_time">
                                            {$laoshi_info.start_year}年-{$laoshi_info.start_month}月&nbsp;至&nbsp; {$laoshi_info.stop_year}年-{$laoshi_info.stop_month}月
                                        </p>
                                        <p class="gwjl_content"><?php echo htmlspecialchars_decode($laoshi_info['experience']) ?></p>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!-- <div class="cutline"></div> -->
                        <!-- </div> -->
                        <div class="cgal" id="cgal-anchor" style="display:none;">
                            <h2>
                                成功案例
                            </h2>
                            <div class="gwjl_details">
                                <div class="mousehover">
                                <?php foreach ($cases as $c) { ?>
                                    <div class="mousearea">
                                        <p class="gwjl_time">
                                            {$c.time_year}年&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            <span>
                                                {$c.school}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$c.stu_name}
                                            </span>
                                        </p>
                                        <p class="gwjl_content"><?php echo htmlspecialchars_decode($c['result']) ?></p>
                                    </div>
                                <?php } ?>

                                </div>
                            </div>
                            <div class="cutline">
                            </div>
                        </div>
                        <div class="jxjl" id="jxjl-anchor" style="display:none;">
                            <h2>
                                教学记录
                            </h2>
                            <table class="tablesty">
                                <colgroup>
                                    <col width="120">
                                    <col width="120">
                                    <col width="160">
                                    <col width="120">
                                    <col width="120">
                                </colgroup>
                                <tbody>
                                    <tr class="no-gray">
                                        <td>课程号</td>
                                        <td>学生</td>
                                        <td>年级</td>
                                        <td>课时数</td>
                                    </tr>
                                    <?php foreach ($my_kcs as $m) { ?>
                                    <tr>
                                        <td>{$m.id}</td>
                                        <td>{$m.name}</td>
                                        <td>{$m.grade}</td>
                                        <td>{$m.zong_ks}</td>
                                    </tr>
                                    <?php } ?>

                                </tbody>
                            </table>
                        </div>
                        <!-- <div class="jzpj" id="jzpj-anchor" style="display:none;">
                            <h2>
                                家长评价
                            </h2>
                            <style type="text/css" media="screen">
                                .codegenerating .moij{ padding: 16px 24px 10px 20px; float: right; color:
                                rgb(171, 171, 171); font-weight: bold; position:relative; cursor:pointer;
                                background: url(/img/wenhao.png) no-repeat; background-position: 120px
                                15px; margin-right: 1.6em; } .moij > span{ display: none; position: absolute;
                                font-weight: normal; width: 268px; left: -52px; top: -55px; text-align:
                                left; background: rgb(255, 255, 255); color: rgb(155, 154, 154); padding:
                                4px 4px 4px 10px; border-radius: 4px; z-index: 3; font-size: 13px; box-shadow:
                                0 0 3px 2px rgb(203, 203, 203); -moz-box-shadow: 0 0 3px 2px rgb(203, 203,
                                203); -webkit-box-shadow: 0 0 3px 2px rgb(203, 203, 203); -o-box-shadow:
                                0 0 3px 2px rgb(203, 203, 203); -ms-box-shadow: 0 0 3px 2px rgb(203, 203,
                                203); } .moij > span:before{ content: ''; display: table; width: 0; height:
                                0px; border-style: solid; border-color: rgb(10, 10, 10) transparent transparent
                                transparent; border-width: 9px; bottom: -17px; left: 63%; position: absolute;}
                                .moij > span:after{ content: ''; display: table; width: 0; height: 0px;
                                border-style: solid; border-color: rgb(255, 255, 255) transparent transparent
                                transparent; border-width: 9px; bottom: -17px; left: 63%; position: absolute;}
                                .moij:hover span{ display: block; }
                            </style>
                            <div class="component">
                                <div class="com1">
                                    <span class="hplv">
                                        100%
                                    </span>
                                    <span class="hpty">
                                        好评率
                                    </span>
                                    <span class="py1">
                                        好评（100%）
                                        <em>
                                            <i style="width: 100%;">
                                                &nbsp;
                                            </i>
                                        </em>
                                    </span>
                                    <span class="py1">
                                        中评（0%）
                                        <em>
                                            <i style="width: 0%;">
                                                &nbsp;
                                            </i>
                                        </em>
                                    </span>
                                    <span class="py1">
                                        差评（0%）
                                        <em>
                                            <i style="width: 0%;">
                                                &nbsp;
                                            </i>
                                        </em>
                                    </span>
                                    <p class="moij">
                                        默认好评不显示
                                        <span>
                                            家长每确认上完一次课，均可获得一次对老师的课程进行评价的机会。若24小时内，家长未做出评价，系统自动默认5星好评。但默认好评没有相应的文字评论，故不显示。
                                        </span>
                                    </p>
                                </div>
                                <div class="clickarea">
                                    <span class="focus">
                                        全部评价(3)
                                    </span>
                                    <span>
                                        好评(3)
                                    </span>
                                    <span>
                                        中评(0)
                                    </span>
                                    <span>
                                        差评(0)
                                    </span>
                                </div>
                            </div>
                            <ul class="lists-evaluate ALL">
                                <li>
                                    <img src="/Uploads">
                                    <div class="pj-content">
                                        <div>
                                            <span class="fspan">
                                                文文
                                            </span>
                                            <ul class="ful" data-star="{&quot;starNums&quot;:{$vo.colligation}}">
                                                <li class="stuff">
                                                    &nbsp;
                                                </li>
                                                <li class="stuff">
                                                    &nbsp;
                                                </li>
                                                <li class="stuff">
                                                    &nbsp;
                                                </li>
                                                <li class="stuff">
                                                    &nbsp;
                                                </li>
                                                <li class="stuff">
                                                    &nbsp;
                                                </li>
                                            </ul>
                                            <span>
                                                2016-11-02
                                            </span>
                                        </div>
                                        <div class="contassess">
                                            王老师备课非常仔细，讲课非常认真，孩子收获很大，对数学有信心了
                                        </div>
                                    </div>
                                    <div class="clear">
                                    </div>
                                </li>
                            </ul>
                        </div> -->
                    </div>
                </div>
            </div>
            <div class="clear">
            </div>
        </div>

        <!--放大图片-->
        <div style="display: none;" class="pic_bigger">
            <div class="bg-r-c-s">
                &nbsp;
            </div>
            <div class="over_img" style="max-width:80%">
                <i class="closeyk-card">
                    ×
                </i>
                <img src="" alt="生活照" style="width:100%;">
            </div>
        </div>
        <!-- 点击切换 基本资料 -->
        <script>
            $('.mousehover').each(function() {
                var gwjltext = $(this).find('.gwjl_time').text();
                var gwlen = gwjltext.length;

                if (gwjltext.indexOf('至今') >= 0) {
                    var gw1 = gwjltext.substr(0, gwlen - 11);
                    $(this).find('.gwjl_time').text(gw1 + ' 至今');
                }
            });

            var otherimgsize = $('.photo_area ul li').size();
            if (otherimgsize == '0') {
                $('.lsxcs').text('老师相册：暂无');
            }

            function gtAlert(content) {

                var html = '<style>.gt-alert{position: fixed;height:50px;' +

                'background: rgba(59,59,59,90);border-radius: 5px;' +

                'color: #eee;font-size:14px;' +

                'box-shadow:0px 0px 2px #333;' +

                'top:45%;  left:46%;  line-height: 48px;  padding:2px 10px;  ' +

                'font-family: "Courier New", Monospace; }' +

                '</style>' +

                '<div class="gt-alert">';

                html = html + content;

                html = html + "</div>"

                $("html").append(html);

                $(".gt-alert").fadeOut(2000);

            }



            $('#self_anchor1').click(function() {

                $('#self-anchor').css('display', 'block').siblings().css('display', 'none');

                $('#self_anchor1').addClass('f').parent().siblings().find('span').removeClass('f');

            });

            $('#gwjl_anchor').click(function() {

                $('#gwjl-anchor').css('display', 'block').siblings().css('display', 'none');

                $('#gwjl_anchor').addClass('f').parent().siblings().find('span').removeClass('f');

            });

            $('#cgal_anchor').click(function() {

                $('#cgal-anchor').css('display', 'block').siblings().css('display', 'none');

                $('#cgal_anchor').addClass('f').parent().siblings().find('span').removeClass('f');

            });

            $('#jxjl_anchor').click(function() {

                $('#jxjl-anchor').css('display', 'block').siblings().css('display', 'none');

                $('#jxjl_anchor').addClass('f').parent().siblings().find('span').removeClass('f');

            });

            $('#jzpj_anchor').click(function() {

                $('#jzpj-anchor').css('display', 'block').siblings().css('display', 'none');

                $('#jzpj_anchor').addClass('f').parent().siblings().find('span').removeClass('f');

            });
        </script>

<!-- 尾部 -->
<include file="Public:fooder" />

        <script type="text/javascript">
            function addHeadF(Fname, Ftype) {
                if (Ftype == "js") {
                    var Fref = document.createElement('script');
                    Fref.setAttribute("type", "text/javascript");
                    Fref.setAttribute("src", Fname);
                } else if (Ftype == "css") {
                    var Fref = document.createElement('link');
                    Fref.setAttribute("rel", "stylesheet");
                    Fref.setAttribute("type", "text/css");
                    Fref.setAttribute("href", Fname);
                }
                if (typeof Fref != "undefined") {
                    document.getElementsByTagName("head")[0].appendChild(Fref);
                }
            }
            function u() {
                $("#arrowup").click(function(e) {
                    e.preventDefault();
                    $("html,body").animate({
                        scrollTop: 0
                    },
                    500);
                });
                $(window).scroll(function() {
                    var _offseT = $(window).scrollTop();
                    if (_offseT >= 1000) {
                        $('#arrowup').fadeOut(200);
                    } else {
                        $('#arrowup').fadeOut(50);
                    }
                });
            };
            u();
        </script>
        <script type="text/javascript">
            for (var i = 0; i < $('.photo_area ul li').length; i++) {

                $('.photo_area ul li').eq(i).css("background", "url(" + $('.photo_area ul li').eq(i).data("value") + ") no-repeat center center");

            }


            //点击放大图片
            $('.photo_area ul li').click(function() {

                var newsrc = $(this).attr('src');

                $('.over_img img').attr('src', $(this).data("value"));

                $('.over_img').css('top', $(window).scrollTop());

                $('.pic_bigger').show();

            });


        //半透明层

        $('.bg-r-c-s').click(function(){

            $('#yk , .attention_window , .pic_bigger').hide();

            $('#cource_hours').val(10);

        });

        //取消按钮

        $('#xuke_close').click(function(){

            $('#yk').hide();

            $('#cource_hours').val(10);

        });

        //关闭按钮

        $('.closeyk-card').click(function(){

            $('.bg-r-c-s').trigger('click');

        });

        </script>
        <script type="text/javascript" charset="utf-8" src="__PUBLIC__/home/js/jquery-1.js"id="hz6d_flp_jquery"></script>
    </body>

</html>